package com.example.demo.entity;

import java.io.Serializable;

public class TOrderDetail implements Serializable {
    private Integer id;
    private Integer pid;
    private String ordernum;

    public TOrderDetail() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum;
    }

    public TOrderDetail(Integer pid, String ordernum) {
        this.pid = pid;
        this.ordernum = ordernum;
    }

    @Override
    public String toString() {
        return "TOrderDetailMapper{" +
                "id=" + id +
                ", pid=" + pid +
                ", ordernum=" + ordernum +
                '}';
    }
}
